cmake_minimum_required(VERSION 3.0.2)
project(tf_program)

find_package(catkin REQUIRED COMPONENTS roscpp std_msgs tf)

catkin_package(
#  INCLUDE_DIRS include
#  LIBRARIES turtle_control
#  CATKIN_DEPENDS other_catkin_pkg
#  DEPENDS system_lib
)

include_directories(
 include
 ${catkin_INCLUDE_DIRS}
)

add_executable(${PROJECT_NAME}_brodcaster_node src/tf_broadcaster.cpp)
# add_dependencies(${PROJECT_NAME}_brodcaster_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(${PROJECT_NAME}_brodcaster_node ${catkin_LIBRARIES})

add_executable(${PROJECT_NAME}_listener_node src/tf_listener.cpp)
# add_dependencies(${PROJECT_NAME}_listener_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(${PROJECT_NAME}_listener_node ${catkin_LIBRARIES})
